//
//  WSOrderEvaluateViewController.m
//  FD
//
//  Created by Yasin on 2018/10/23.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//  待评价

#import "WSOrderEvaluateViewController.h"
#import "WSOrderDetailWaitPayController.h"
@interface WSOrderEvaluateViewController ()

@end

@implementation WSOrderEvaluateViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
  
    //待评价
//    [self loadOrderDataWithStatus:@[@4]];
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.tableView.mj_header beginRefreshing];
}

- (void)loadOrderDataWithStatus:(NSArray<NSNumber *> *)status {
    [super loadOrderDataWithStatus:@[@4]];
}

//点击cell
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    
    WSOrderModel *model =   self.dataArr[indexPath.section];
    
    WSOrderDetailWaitPayController *waitPayVC = [[WSOrderDetailWaitPayController alloc] init];
    waitPayVC.orderId = model.orderId;
    [self.navigationController pushViewController:waitPayVC animated:YES];
    
    FDLog(@"%@",model);
}


@end
